<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<div class="panel panel-default">
	<div class="panel-heading">
			<h3 class="panel-title">使用者管理 &gt; 使用者修改</h3>
	</div>
	<div class="panel-body">
		<form class="form-horizontal" action="<%=request.getContextPath()%>/users/update" method="post">
			<input type="hidden" name="id" value="${user.id}" />
			<div class="form-group">
					<label for="account" class="col-sm-1 control-label">帳號</label>
					<div class="col-sm-11">
							${user.account}
							<span class="help-block"><span class="text-danger"></span></span>
					</div>
			</div>
			<div class="form-group">
					<label for="name" class="col-sm-1 control-label">姓名</label>
					<div class="col-sm-11">
							<input type="text" class="form-control" id="name" name="name" placeholder="請輸入姓名" value="${user.name }">
							<span class="help-block"><span class="text-danger"></span></span>
					</div>
			</div>
			
			<input type="submit" id="submitBtn"	class="btn btn-primary btn-lg" value="修改"/>
			<a href="<%=request.getContextPath()%>/users/list" class="btn btn-warning btn-lg" >回到列表</a>
		 		 
		</form>
	</div>
</div>











